dtb: correct handling of #address-cells and #size-cells.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 18 Feb 2013 15:20:33 +0000 (15:20 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 13 Mar 2013 10:56:49 +0000 (10:56 +0000)
commit0c46b4ce85516e208f587fe518dad24156d84ac2
tree304de2b6908ccb4ac59acad77fceb65d58cb90ff
parentfde3412217a1e84e2601e591ca92e82a208d9688
dtb: correct handling of #address-cells and #size-cells.

If a node does not have #*-cells then the parent's value should be
used. Currently we were asssuming zero which is useless.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/arm/domain_build.c
xen/common/device_tree.c
xen/include/xen/device_tree.h